<extend name="Public:base" />
<block name="header" >
    <span class="action-span"><a href="">优惠券列表</a></span>
    <span class="action-span1"><a href="">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <!--  <span id="search_id" class="action-span1"> - 商品列表 </span>-->
    <div style="clear:both"></div>
</block>

<block name="body">


    <!-- 商品列表 -->

    <div class="list-div" id="listDiv">
        <table cellpadding="3" cellspacing="1">
            <tr>
                <!--<th>供应商ID</th>-->
                <th>供应商名称</th>
                <th>公司名称</th>
                <th>公司电话</th>
                <th>公司地址</th>
                <th>法人姓名</th>
                <th>法人身份证号</th>
                <th>法人身份证正面照</th>
                <th>法人身份证背面照</th>
                <th>工商注册登记证号</th>
                <th>资质证书照片(营业执照)</th>
                <th>联系人电话</th>
                <th>联系人邮箱</th>
                <th>联系人QQ</th>
                <th>所服务地区的ID</th>
                <th>开户行名称</th>
                <th>银行账号</th>
                <th>账户持有人姓名</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            <volist name="res" id="vo">
                <tr>
                    <!-- -->
                    <td align="center">{$vo.supplier_name}</td>
                    <td align="center">{$vo.company_name}</td>
                    <td align="center">{$vo.company_phone}</td>
                    <td align="center">{$vo.company_address}</td>
                    <td align="center">{$vo.legal_name}</td>
                    <td align="center">{$vo.idcard_number}</td>
                    <td align="center">{$vo.idcard_face}</td>
                    <td align="center">{$vo.idcard_back}</td>
                    <td align="center">{$vo.company_number}</td>
                    <td align="center">{$vo.business_license}</td>
                    <td align="center">{$vo.phone}</td>
                    <td align="center">{$vo.email}</td>
                    <td align="center">{$vo.qq_number}</td>
                    <td align="center">{$vo.region_id}</td>
                    <td align="center">{$vo.deposit_bank}</td>
                    <td align="center">{$vo.bank_account}</td>
                    <td align="center">{$vo.account_holder}</td>

                    <if condition="$vo['state'] eq 0">
                        <td align="center"><span>未审核</span></td>
                        <elseif condition="$vo['state'] eq 1"/>
                        <td align="center"><span>审核通过</span></td>
                        <elseif condition="$vo['state'] eq 2"/>
                        <td align="center"><span>审核失败</span></td>
                        <elseif condition="$vo['state'] eq 3"/>
                        <td align="center"><span>取消审核</span></td>
                    </if>

                    <td align="center">
                        <a href="{:U('edit','id='.$vo['entity_coupon_id'].'&tableName=couponentity_list')}">编辑</a>
                        <a href="{:U('dels','id='.$vo['entity_coupon_id'].'&tableName=couponentity_list')}" >删除</a>
                    </td>
                </tr>
            </volist>
        </table>
        <!-- 分页开始 -->
        <table id="page-table" cellspacing="0">
            <tr>
                <td width="80%">&nbsp;</td>
                <td align="center" nowrap="true">
                    {$data.pageStr}
                </td>
            </tr>
        </table>
        <!-- 分页结束 -->
    </div>
</block>